<?php
interface TransactionalInterface {
	public function startTransaction();
	
	public function rollback();
	
	public function closeTransaction();
	
	/**
	 * return whether the process is already in transaction or not
	 * return boolean
	 */
	public function inTransaction();
}